package com.xx.sg.own.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xx.sg.own.entity.Road;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoadMapper extends BaseMapper<Road> {
    int updateGeometry(@Param("id") String id, @Param("geometry") String geometry);

    List<Road> getRoadByCircle(@Param("longitude") Double longitude,@Param("latitude") Double latitude,@Param("radius") Double radius);
}
